package com.zqxq.lottery.entity.po.sys;

import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 苦智
 * @date 2018/5/24 12:14
 * @description 优惠券
 * @ClassName SysCouponPO
 */
@TableName("sys_coupon")
@Data
public class SysCouponPO {
    private Long id; //优惠券id
    private Long activity_id; //活动id
    private String lottery_id; //彩种 ALL所有
    private BigDecimal condition_money; //条件金额
    private BigDecimal money; //优惠券金额
    private Integer status; //优惠券状态 0:未启用 1:启用
    private Integer type; //优惠券类型 0-普通 1-满减券 2-满送券
    private Date create_time;
    private Date update_time;
    private Integer delay_days;//优惠券延迟发放天数
    private Integer validity_days;//优惠券有效天数 0:永久有效
}
